package com.donquijote.service.Impl;

import com.donquijote.bean.User;
import com.donquijote.dao.UserDao;
import com.donquijote.service.UserService;

/**
 * @author 421527548@qq.com
 * @version V1.0
 * @title
 * @description
 * @date 2022-11-02 11:52
 */
public class UserServiceImpl implements UserService {

    UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public UserServiceImpl(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void deleteUser(User user) {
        userDao.deleteUser();
    }
}
